package com.yofoto.lyy;

import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;

/**
 * Guns Web程序启动类
 *打成war包替代web.xml的启动方式
 * @author fengshuonan
 * @date 2017-05-21 9:43
 */
public class YofotoServletInitializer extends SpringBootServletInitializer {

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        return builder.sources(YofotoApplication.class);
    }
}
